package com.withoutwords.ui.drawing;


public abstract class DrawingControllerFactory {
	public static BaseDrawingController createDrawingView()
	{
		String manifacturer = android.os.Build.MANUFACTURER;
		BaseDrawingController drawingController = null;
		int androidVersion = android.os.Build.VERSION.SDK_INT;
		if(manifacturer.toLowerCase().contains("samsung") && androidVersion > 8 )
		{
			drawingController = new SamsungDrawingController();
		}
		else
		{
			drawingController = new DefaultDrawingController();
		}
		return drawingController;
	}

}
